﻿using System.Windows;
using System.Windows.Controls;

namespace WpfApp4;

public partial class UserCard : UserControl
{
    public UserCard()
    {
        InitializeComponent();
    }

    public string UserName
    {
        get => (string)GetValue(UserNameProperty);
        set => SetValue(UserNameProperty, value);
    }

    public static readonly DependencyProperty UserNameProperty =
        DependencyProperty.Register("UserName", typeof(string), typeof(UserCard));

    public string UserDescription
    {
        get => (string)GetValue(UserDescriptionProperty);
        set => SetValue(UserDescriptionProperty, value);
    }

    public static readonly DependencyProperty UserDescriptionProperty =
        DependencyProperty.Register("UserDescription", typeof(string), typeof(UserCard));

    
    
}